(deftemplate relatii (slot nume) (slot inst) (slot is-a) (slot love) (slot main-locomotion))

(deffacts retea-semantica
    (relatii (nume Canny) (inst canary))
    (relatii (nume Osten) (inst ostrich))
    (relatii (nume canary) (is-a bird))
    (relatii (nume ostrich) (is-a bird) (love sand) (main-locomotion running))
    (relatii (nume bird) (is-a animal) (main-locomotion flying))    
)

(reset)